home *** CD-ROM | disk | FTP | other *** search
/ Aminet 52 / Aminet 52 (2002)(GTI - Schatztruhe)[!][Dec 2002].iso / Aminet / util / moni / Sysmon120a.lha / sysmon / include / sysmon_protos.h < prev    next >
C/C++ Source or Header  |  2000-05-30  |  2KB  |  48 lines

  1. #ifndef CLIB_SYSMON_PROTOS_H
  2. #define    CLIB_SYSMON_PROTOS_H
  3. /*
  4. **    $VER: sysmon_protos.h 1.12 (26.12.99)
  5. **
  6. **    C prototypes. For use with 32 bit integers only.
  7. **
  8. **    (C) Copyright 1995-1999 by Etienne Vogt
  9. */
  10.  
  11. #ifndef  EXEC_TYPES_H
  12. #include <exec/types.h>
  13. #endif
  14.  
  15. struct TaskInfo *smGetTaskInfo(struct Task *task);
  16. BOOL smFreeze(struct Task *task);
  17. BOOL smUnFreeze(struct Task *task);
  18. BOOL smSleep(ULONG ticks);
  19. VOID smVKPrintf(STRPTR format, APTR values);
  20. /*void smKPrintf(STRPTR format, ...);*/
  21. APTR smVSPrintf(STRPTR buffer, STRPTR format, APTR values);
  22. /*APTR smSPrintf(STRPTR buffer, STRPTR format, ...);*/
  23. BOOL smVSysLog(ULONG priority, STRPTR format, APTR values);
  24. /*BOOL smSysLog(ULONG priority, STRPTR format, ...);*/
  25. struct TaskInfo *smFindTaskInfo(STRPTR name);
  26. struct TaskInfo *smNextTaskInfo(struct TaskInfo *tinfo);
  27. void smHalt(ULONG flags);
  28. /* Functions in V1 or higher    */
  29. APTR smVSnPrintf(STRPTR buffer, ULONG len, STRPTR format, APTR values);
  30. /*APTR smSnPrintf(STRPTR buffer, ULONG len, STRPTR format, ...);*/
  31. struct Node *smFindNode(struct List *list, struct Node *node);
  32. void smAddBroadcastPort(struct MsgPort *port);
  33. void smRemBroadcastPort(struct MsgPort *port);
  34. LONG smSendBroadcastMsg(struct BroadcastMsg *bcmsg);
  35. APTR smGetVBR(void);
  36. /*APTR smMoveVBR(void);*/
  37. void smLockTaskTable(ULONG flags);
  38. void smUnLockTaskTable(ULONG flags);
  39. void smDisallowExcept(void);
  40. void smAllowExcept(void);
  41. void smHibernate(void);
  42. void smWakeUp(struct Task *task);
  43. void smScheduleWakeUp(struct timerequest *timereq);
  44. void smEndExcept(BOOL cleanup);
  45. ULONG smWaitAnd(ULONG signalSet);
  46.  
  47. #endif    /* CLIB_SYSMON_PROTOS_H    */
  48.